package com.qf.mapper;

import com.qf.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    List<Student> selectAllStudent(String name, Integer studentId, Integer status, Integer start, Integer limit);

    List<Student> selectStudent(Integer studentId);

    Student selectStudentCount();

    int updateStudent(Student student);

    int insertStudent(Student student);

    int updateStudentStatus(@Param("studentIds") List<Integer> studentIds, @Param("studentStatus") Integer studentStatus);


    int deleteStudent(@Param("studentIds") List<Integer> studentIds);
}
